/**应用场景 */
<template>
  <div class="application-scenarios">
    <div class="solution-item-box main-content">
      <div class="item-title-box">应用场景</div>
      <div class="solution-line-box"></div>
      <div class="solution-item-application-box">
        <a-row :gutter="{ xs: 8, sm: 32, md: 48, lg: 64 }">
          <a-col
            :md="8"
            :sm="12"
            :xs="12"
            v-for="item in dataLsit"
            :key="item.title"
          >
            <div class="app-item-box">
              <div class="app-img-box">
                <img :src="require(`@/assets/solution/${item.icon}.png`)" />
              </div>
              <div class="app-item-content">
                <div class="app-title-box">
                  {{ item.title }}
                </div>
                <div class="app-dec-box">
                  {{ item.dec }}
                </div>
              </div>
            </div>
          </a-col>
        </a-row>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  props: {
    dataLsit: {
      type: Array,
      default: function() {
        return [];
      },
    },
  },
  data() {
    return {};
  },
  watch: {},
  computed: {},
  methods: {},
  created() {},
  mounted() {},
};
</script>
<style lang="scss" scoped>
.solution-item-box {
  padding: 2.75rem 0px;
  .item-title-box {
    font-size: 24px;
    font-weight: 600;
    color: #444444;
    line-height: 36px;
  }

  .solution-line-box {
    width: 48px;
    height: 2px;
    background: #31a3ff;
    margin-top: 20px;
    margin-bottom: 13px;
  }
}

// 应用场景
.solution-item-application-box {
  .ant-col {
    margin: 20px 0;
  }
  .app-item-box {
    position: relative;
    .app-img-box {
      position: absolute;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .app-item-content {
      position: absolute;
      bottom: 1.875rem;
      right: 0.9375rem;
      left: 0.9375rem;
      .app-title-box {
        font-size: 1.25rem;
        font-weight: 800;
        color: #ffffff;
        line-height: 1.6875rem;
        margin-bottom: 0.625rem;
      }
      .app-dec-box {
        font-size: 0.75rem;
        font-weight: 400;
        color: #ffffff;
        line-height: 1.5rem;
      }
    }
  }
  .app-item-box:before {
    content: " ";
    display: block;
    padding-top: 100%;
  }
}
</style>
